package com.beaut.project.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

@Repository
public interface XMMapper {
	public int checkSameXMCode(Map<String,Object> map);
	public void xmFinishBalanceStatus(Map<String,Object> map);
	public void addXM(Map<String,Object> map);
	public void updateXM(Map<String,Object> map);
	public void closeXm(Map<String,Object> map);
	public void addXMLy(Map<String,Object> map);

	public void updateXMLy(Map<String,Object> map);
	public void updateXmCheck(Map<String,Object> map);
	public List<Map<String,Object>> listPageXM(Map<String,Object> map);
	public List<Map<String,Object>> listPageXmCg(Map<String,Object> map);
	public List<Map<String,Object>> listPageWarehouseXM(Map<String,Object> map);
	public List<Map<String,Object>> listPageXMBaseEnd(Map<String,Object> map);
	public List<Map<String,Object>> listPageXMAndGdClose(Map<String,Object> map);
	public List<Map<String,Object>> listGdClose(Map<String,Object> map);
	public List<Map<String,Object>> listPageLy(Map<String,Object> map);
	public List<Map<String,Object>> listPageCheck(Map<String,Object> map);
	public List<Map<String,Object>> listXmDept(Map<String,Object> map);
	public List<Map<String,Object>> listXmvaluationDetail(Map<String,Object> map);
	public  Map<String,Object>  getXMById(Map<String,Object> map);
	public  Map<String,Object>  getEndInMoneyXMById(Map<String,Object> map);
	public int getBalancePayStatus(Map<String,Object> map);
	public  Map<String,Object>  getMaterialCount(Map<String,Object> map);
	public  Map<String,Object>  getXMPayCount(Map<String,Object> map);
	public  Map<String,Object>  getReimLoanCount(Map<String,Object> map);
	public  Map<String,Object>  getXMLyById(Map<String,Object> map);
	public  Map<String,Object>  getXmEvalByXmId(Map<String,Object> map);
	public  Map<String,Object>  getXmEvalDetailByXmId(Map<String,Object> map);
	public  Map<String,Object>  getXmCheckById(Map<String,Object> map);
	public  Map<String,Object>  getXmContractById(Map<String,Object> map);
	public void deleteXM(Map<String,Object> map);
	
	public void addXMAttachment(List<Map<String,Object>> list);
	public List<Map<String,String>> getXMTempAttachmentByGDId(Map<String,Object> map);
	public  List<Map<String,Object>> listAllPageGDSet(Map<String,Object> map);
	public  List<Map<String,Object>> listPageEvaluation(Map<String,Object> map);
	public  List<Map<String,Object>> listPageXmReimDetail(Map<String,Object> map);
	public  List<Map<String,Object>> listPageBorrowMaterial(Map<String,Object>map);
	public  List<Map<String,Object>> listPageXmContract(Map<String,Object>map);
	public  List<Map<String,Object>> listInitGDSetByXMId(Map<String,Object> map);
	public  List<Map<String,Object>> listGdByXmId(Map<String,Object> map);
	public  List<Map<String,Object>> listGDSetByXMId(Map<String,Object> map);
	public   Map<String,Object> getXmvaluationById(Map<String,Object> map);
	
	public void addXMInitGDSet(List<Map<String,Object>> list);
	
	
	public void deleteXMAttachment(Map<String,Object> map);
	public void deleteXMInitGDSet(Map<String,Object> map);
	
	public void flowBackToXMBaseStatus(Map<String,Object> map);
	public void updateXMCreateTime(Map<String,Object> map);
	public void deleteXMGDSet(Map<String,Object> map);
	
	public void updateXMGDSet(Map<String,Object> map);
	public void updateXMBudget(Map<String,Object> map);
	public void addXmCheck(Map<String,Object> map);
	public void addContract(Map<String,Object> map);
	public void updateContract(Map<String,Object> map);
	public void updateEvaluationById(Map<String,Object> map);
	public void addXmEvaluation(Map<String,Object> map);
	public void addXmEvaluationDetail(List<Map<String,String>> list);
	public void updateXmEvaluation(Map<String,Object> map);
	public void deleteXmEvaluationDetail(Map<String,Object> map);
	public void deleteXmEvaluation(Map<String,Object> map);
	public void addXMFlowInWarehouse(Map<String,Object> map);
	public void addXMFlowOutWarehouse(Map<String,Object> map);
	public void addXMFlowInDetail(List<Map<String,Object>> list);
	public void addXMFlowOutDetail(List<Map<String,Object>> list);
	public void updateXMFlowInWarehouse(Map<String,Object> map);
	public void updateXMFlowOutWarehouse(Map<String,Object> map);
	
	public List<Map<String,Object>> listPageFlowInWarehouse(Map<String,Object> map);
	public List<Map<String,Object>> listPageFlowOutWarehouse(Map<String,Object> map);
	public  Map<String,Object>  getFlowInWarehouse(Map<String,Object> map);
	public  Map<String,Object>  getFlowOutWarehouse(Map<String,Object> map);
	public  Map<String,Object>  getXmEvalById(Map<String,Object> map);
	public  List<Map<String,Object>> getXMFlowInDetail(Map<String,Object> map);
	public  List<Map<String,Object>> getXMFlowOutDetail(Map<String,Object> map);
	public void deleteFlowInWarehouse(Map<String,Object> map);
	public void deleteFlowOutWarehouse(Map<String,Object> map);
	public void deleteFlowInWarehouseDetail(Map<String,Object> map);	
	public void deleteFlowOutWarehouseDetail(Map<String,Object> map);	
	
	public void deleteXMLy(Map<String,Object> map);
	public void deleteXMCheck(Map<String,Object> map);
	
	public  List<Map<String,Object>>  getXMFlowBackOutWarehouse(Map<String,Object> map);
	public  List<Map<String,Object>>  getXMFlowBackInWarehouse(Map<String,Object> map);
	public  Map<String,Object>  getMaterialDb(Map<String,Object> map);
	public  Map<String,Object>  getMaterialDbTwo(Map<String,Object> map);
	public void flowBackToMaterialDb(Map<String,Object> map);
	public  void addXMFlowBackMaterialDb(Map<String,Object> map);
	public  void addXMFlowBackDbLog(List<Map<String,Object>> list);
	public  void addXMFlowBackDbLog1(List<Map<String,Object>> list);
	public List<Map<String,Object>> listXMGDBalance(Map<String,Object> map);
	public List<Map<String,Object>> listXMGDBalanceByXmId(Map<String,Object> map);
	public void addXMGDBalance1(List<Map<String,String>> list);
	public void addXMGDBalance(List<Map<String,String>> list);
	public int hasXMBalance(Map<String,Object> map);
	public void updateXMGDBalance1(Map<String,String> map);
	public void updateXMGDBalance(Map<String,String> map);
	public void updateMaterialBalanceStatus(Map<String,Object> map);
	public List<Map<String,Object>> listPageXMMaterBalance(Map<String,Object> map);
	public List<Map<String,Object>> listPageXMInMoneyBalance(Map<String,Object> map);
	public List<Map<String,Object>> listPageXMPaymentBalance(Map<String,Object> map);
	public List<Map<String,Object>> listPageFinanceInfo(Map<String,Object> map);
	public List<Map<String,Object>> listPageWorker(Map<String,Object> map);
	
	public List<Map<String,Object>> getXMInvoiceAlarm(Map<String,Object> map);
	public List<Map<String,Object>> getXMInvoiceEndAlarm(Map<String,Object> map);
	public List<Map<String,Object>> getXMWarrantyAlarm(Map<String,Object> map);
	public Object getWorkerBugdet(Map<String,Object> map);
	
	public int getXmIsHas(Map<String,Object> map);
	/**
	* 删除临时项目工单关系表数据
	* @author xf
	* @Time 2017-02-18
	*
	*/
	public void updateTempXm(Map<String,Object> map);

	/**
	* 变更项目为撤销状态
	* @author xf
	* @Time 2017-02-18
	*
	*/
	public void updateXmCancel(Map<String,Object> map);


}
